<html>    

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="javascript" type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){   
	$.getJSON(   
	'json.php',   
	function(data){   
	var content="";   
	for(var i=0;i<data.length;i++)
	{//循环读取后台的取得的JSON数据   
	content+=data[i].name;   
	var par="paidan：";   
	for(var j=0;j<data[i].par.
	length;j++){//循环读取数据中的par集合   
	par+=data[i].par[j]+"、";   
	}   
	content+=par+"<pre/>";   
	}   
	alert(content);   
	}   
	);   
	}); 
</script>
</html>  